package com.group.library.order.entity;

import java.util.Date;


public class Notice {

    private int noticeId;
    private String message;
    private Date time;
    private int status;

    public Notice() {
    }

    public Notice(int noticeId, String message, Date time, int status) {
        this.noticeId = noticeId;
        this.message = message;
        this.time = time;
        this.status = status;
    }

    public int getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(int noticeId) {
        this.noticeId = noticeId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "noticeId=" + noticeId +
                ", message='" + message + '\'' +
                ", time=" + time +
                ", status=" + status +
                '}';
    }
}
